﻿namespace EOrm
{
    /// <summary>
    /// 数据表接口
    /// </summary>
    public interface ITable
    {
        /// <summary>
        /// 数据表名
        /// </summary>
        string Name { get; set; }

        /// <summary>
        /// 数据库内表名
        /// </summary>
        string DbName { get; set; }

        /// <summary>
        /// 是否启用分割线命名法
        /// </summary>
        bool IsSeperated { get; set; }

        /// <summary>
        /// 数据表字段集合
        /// </summary>
        List<IField> Fields { get; set; }
    }
}
